package com.hero.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient // 客户端 被其他调用，实现注册到注册中心
@EnableFeignClients // 要去请求别人的客户端
public class HeroEurekaConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(HeroEurekaConsumerApplication.class, args);
    }

}
